<template>
  <div>
    <div class="com_status" :class="className ? '' : 'active'"></div>
  </div>
</template>

<script>
export default {
  name: "ComStatus",
  props: {
    className: {
      type: Boolean,
      default: true,
    }
  },
  data() {
    return {

    }
  },
};
</script>
<style lang="scss" scoped>
.com_status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #71e2a3;
  display: inline-block;
  position: relative;
  top: -2px;
  left: -6px;
  &.active {
    background-color: #ff9292;
  }
}
</style>
